package pl.edu.agh.anomalyids.lerad.rule.util;

import java.util.Comparator;

import pl.edu.agh.anomalyids.lerad.aspect.AbstractAspect;

public class AspectNameComparator implements Comparator<AbstractAspect<?>> {
	
	@Override
	public int compare(AbstractAspect<?> aspect1, AbstractAspect<?> aspect2) {
		return aspect1.getType().toString().compareTo(aspect2.getType().toString());
	}
}
